<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>fdk-aac: original/libSBRenc/src/ps_encode.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">fdk-aac
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_ed137715e08969a186ec660e8ae6e2fb.html">original</a></li><li class="navelem"><a class="el" href="dir_ed04b364c633b7d989cbbfdbe7d82d9c.html">libSBRenc</a></li><li class="navelem"><a class="el" href="dir_503efe22260b46e9073f09b8bee50978.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">ps_encode.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>PS parameter extraction, encoding functions.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;ps_const.h&quot;</code><br />
<code>#include &quot;ps_bitenc.h&quot;</code><br />
</div>
<p><a href="ps__encode_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_t___p_s___d_a_t_a.html">T_PS_DATA</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_t___p_s___e_n_c_o_d_e.html">T_PS_ENCODE</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a0622f16bf1324ca7a426d68a521aadd5"><td class="memItemLeft" align="right" valign="top"><a id="a0622f16bf1324ca7a426d68a521aadd5"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IID_SCALE_FT</b>&#160;&#160;&#160;(64.f) /* maxVal in Quant tab is +/- 50 */</td></tr>
<tr class="separator:a0622f16bf1324ca7a426d68a521aadd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fb58e9203bd867286c9bce7b5c19f5c"><td class="memItemLeft" align="right" valign="top"><a id="a0fb58e9203bd867286c9bce7b5c19f5c"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IID_SCALE</b>&#160;&#160;&#160;6         /* maxVal in Quant tab is +/- 50 */</td></tr>
<tr class="separator:a0fb58e9203bd867286c9bce7b5c19f5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7ca6fd46046b7a1947bf479ff5d6389"><td class="memItemLeft" align="right" valign="top"><a id="af7ca6fd46046b7a1947bf479ff5d6389"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IID_MAXVAL</b>&#160;&#160;&#160;(1 &lt;&lt; IID_SCALE)</td></tr>
<tr class="separator:af7ca6fd46046b7a1947bf479ff5d6389"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a282df19a07b0064da3b0f28210fb48a9"><td class="memItemLeft" align="right" valign="top"><a id="a282df19a07b0064da3b0f28210fb48a9"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PS_QUANT_SCALE_FT</b>&#160;&#160;&#160;  (64.f) /* error smaller (64-25)/64 * 20 bands * 4 env -&gt; QuantScale 64 */</td></tr>
<tr class="separator:a282df19a07b0064da3b0f28210fb48a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3fba4177a1c66330b93bc12aca40b74"><td class="memItemLeft" align="right" valign="top"><a id="ac3fba4177a1c66330b93bc12aca40b74"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PS_QUANT_SCALE</b>&#160;&#160;&#160;  6 /* error smaller (64-25)/64 * 20 bands * 4 env -&gt; QuantScale 6 bit */</td></tr>
<tr class="separator:ac3fba4177a1c66330b93bc12aca40b74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb839d8bb6fccd1a6f4b52fdce5eb8c7"><td class="memItemLeft" align="right" valign="top"><a id="abb839d8bb6fccd1a6f4b52fdce5eb8c7"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>QMF_GROUPS_LO_RES</b>&#160;&#160;&#160;12</td></tr>
<tr class="separator:abb839d8bb6fccd1a6f4b52fdce5eb8c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88d575b75b2ef7d0236d2e10ea65817b"><td class="memItemLeft" align="right" valign="top"><a id="a88d575b75b2ef7d0236d2e10ea65817b"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SUBQMF_GROUPS_LO_RES</b>&#160;&#160;&#160;10</td></tr>
<tr class="separator:a88d575b75b2ef7d0236d2e10ea65817b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3830dd02a8f34d3daa435bcf1937e777"><td class="memItemLeft" align="right" valign="top"><a id="a3830dd02a8f34d3daa435bcf1937e777"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>QMF_GROUPS_HI_RES</b>&#160;&#160;&#160;18</td></tr>
<tr class="separator:a3830dd02a8f34d3daa435bcf1937e777"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ce20926fd767246e7252052d4780ff3"><td class="memItemLeft" align="right" valign="top"><a id="a8ce20926fd767246e7252052d4780ff3"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SUBQMF_GROUPS_HI_RES</b>&#160;&#160;&#160;30</td></tr>
<tr class="separator:a8ce20926fd767246e7252052d4780ff3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:af799fe81dd057554b175651673485e69"><td class="memItemLeft" align="right" valign="top"><a id="af799fe81dd057554b175651673485e69"></a>
typedef struct <a class="el" href="struct_t___p_s___d_a_t_a.html">T_PS_DATA</a>&#160;</td><td class="memItemRight" valign="bottom"><b>PS_DATA</b></td></tr>
<tr class="separator:af799fe81dd057554b175651673485e69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac182125b73f54682b8f921ed32b04e9e"><td class="memItemLeft" align="right" valign="top"><a id="ac182125b73f54682b8f921ed32b04e9e"></a>
typedef struct <a class="el" href="struct_t___p_s___d_a_t_a.html">T_PS_DATA</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>HANDLE_PS_DATA</b></td></tr>
<tr class="separator:ac182125b73f54682b8f921ed32b04e9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05bb16d93f6afb93ba649d200f657624"><td class="memItemLeft" align="right" valign="top"><a id="a05bb16d93f6afb93ba649d200f657624"></a>
typedef struct <a class="el" href="struct_t___p_s___e_n_c_o_d_e.html">T_PS_ENCODE</a>&#160;</td><td class="memItemRight" valign="bottom"><b>PS_ENCODE</b></td></tr>
<tr class="separator:a05bb16d93f6afb93ba649d200f657624"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ecef55d2695c981c2aadaec39886ac0"><td class="memItemLeft" align="right" valign="top"><a id="a9ecef55d2695c981c2aadaec39886ac0"></a>
typedef struct <a class="el" href="struct_t___p_s___e_n_c_o_d_e.html">T_PS_ENCODE</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>HANDLE_PS_ENCODE</b></td></tr>
<tr class="separator:a9ecef55d2695c981c2aadaec39886ac0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a13ff8c6c998f10e208fcfc0529eee1bc"><td class="memItemLeft" align="right" valign="top"><a id="a13ff8c6c998f10e208fcfc0529eee1bc"></a>
FDK_PSENC_ERROR&#160;</td><td class="memItemRight" valign="bottom"><b>FDKsbrEnc_CreatePSEncode</b> (<a class="el" href="struct_t___p_s___e_n_c_o_d_e.html">HANDLE_PS_ENCODE</a> *phPsEncode)</td></tr>
<tr class="separator:a13ff8c6c998f10e208fcfc0529eee1bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd354f37a87f07671cabaab286aa1182"><td class="memItemLeft" align="right" valign="top"><a id="acd354f37a87f07671cabaab286aa1182"></a>
FDK_PSENC_ERROR&#160;</td><td class="memItemRight" valign="bottom"><b>FDKsbrEnc_InitPSEncode</b> (<a class="el" href="struct_t___p_s___e_n_c_o_d_e.html">HANDLE_PS_ENCODE</a> hPsEncode, const PS_BANDS psEncMode, const FIXP_DBL iidQuantErrorThreshold)</td></tr>
<tr class="separator:acd354f37a87f07671cabaab286aa1182"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf559b2bc17ea7065f898447b05d03fd"><td class="memItemLeft" align="right" valign="top"><a id="aaf559b2bc17ea7065f898447b05d03fd"></a>
FDK_PSENC_ERROR&#160;</td><td class="memItemRight" valign="bottom"><b>FDKsbrEnc_DestroyPSEncode</b> (<a class="el" href="struct_t___p_s___e_n_c_o_d_e.html">HANDLE_PS_ENCODE</a> *phPsEncode)</td></tr>
<tr class="separator:aaf559b2bc17ea7065f898447b05d03fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adefb106978dda9f0b83e114986814236"><td class="memItemLeft" align="right" valign="top"><a id="adefb106978dda9f0b83e114986814236"></a>
FDK_PSENC_ERROR&#160;</td><td class="memItemRight" valign="bottom"><b>FDKsbrEnc_PSEncode</b> (<a class="el" href="struct_t___p_s___e_n_c_o_d_e.html">HANDLE_PS_ENCODE</a> hPsEncode, <a class="el" href="struct_t___p_s___o_u_t.html">HANDLE_PS_OUT</a> hPsOut, <a class="el" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> *dynBandScale, <a class="el" href="machine__type_8h.html#afff0ab3629a68bc1bb3b2a2f4296173f">UINT</a> maxEnvelopes, FIXP_DBL *hybridData[HYBRID_FRAMESIZE][MAX_PS_CHANNELS][2], const <a class="el" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> frameSize, const <a class="el" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> sendHeader)</td></tr>
<tr class="separator:adefb106978dda9f0b83e114986814236"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>PS parameter extraction, encoding functions. </p>
<dl class="section rcs"><dt>Revision</dt><dd>92790 </dd></dl>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
